package cn.vc.communityservice.entity;

import cn.vc.basicmodule.entity.Entity;
import lombok.Data;

/**
 * <h1>社区表</h1>
 */
@Data
public class Community extends Entity {
    private Long founderId;//创建用户ID
    private String name;//社区名称
    private String intro;//简介
    private Long resourceNum = 0L;//资源数量
    private Long peopleNum = 0L;//人数
    private String tag;//标签，数量不得超过5个

    public Community() {}
    public Community(Long founderId, String name, String intro, String tag) {
        this.founderId = founderId;
        this.name = name;
        this.intro = intro;
        this.tag = tag;
    }
}
